package com.cjw.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjw.demo.entity.TbHouseInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cjw
 * @since 2021-11-18
 */
@Mapper
public interface TbHouseInfoMapper extends BaseMapper<TbHouseInfo> {
    @Update("UPDATE `tb_house_info` SET `status`='1' WHERE id=#{s}")
    void houseupdata(@Param("s") String s);
}
